package com.example.kotlindemo

//import android.os.Handler
//import android.os.Looper

//object : 定义一个class 创建 单列
//object ThreadUtils {
//    fun onMainthread(runnable: Runnable){
//        val mainHandle = Handler(Looper.getMainLooper())
//        mainHandle.post(runnable)
//    }
//}